﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GBMS.MODEL
{
    public class ProjectExpenseInfo
    {
        private int seq;
        private string descr;
        private double price;
        private Nullable<int> qty;
        private Nullable<int> unit;
        private string remark;
        private Nullable<double> mtef1;
        private Nullable<double> mtef2;
        private Nullable<double> mtef3;
        private SourceInfo src;
        private ExpenseInfo exp;
        private string resource;
        private ProjectInfo pj;
        private UserRecordInfo user;

        public ProjectExpenseInfo() { }

        public ProjectExpenseInfo(int seq, ProjectInfo pj, SourceInfo src, ExpenseInfo exp)
        {
            this.seq = seq;
            this.pj = pj;
            this.src = src;
            this.exp = exp;
        }

        public int Sequence
        {
            get
            {
                return seq;
            }
            set
            {
                seq = value;
            }
        }

        public string Description
        {
            get
            {
                return descr;
            }
            set
            {
                descr = value;
            }
        }

        public double Price
        {
            get
            {
                return price;
            }
            set
            {
                price = value;
            }
        }

        public Nullable<int> Quantity
        {
            get
            {
                return qty;
            }
            set
            {
                qty = value;
            }
        }

        public Nullable<int> Unit
        {
            get
            {
                return unit;
            }
            set
            {
                unit = value;
            }
        }

        public string Remark
        {
            get
            {
                return remark;
            }
            set
            {
                remark = value;
            }
        }

        public Nullable<double> MTEF1
        {
            get
            {
                return mtef1;
            }
            set
            {
                mtef1 = value;
            }
        }

        public Nullable<double> MTEF2
        {
            get
            {
                return mtef2;
            }
            set
            {
                mtef2 = value;
            }
        }

        public Nullable<double> MTEF3
        {
            get
            {
                return mtef3;
            }
            set
            {
                mtef3 = value;
            }
        }

        public string Resource
        {
            get
            {
                return resource;
            }
            set
            {
                resource = value;
            }
        }        
        
        
        public SourceInfo Source
        {
            get
            {
                return src;
            }
            set
            {
                src = value;
            }
        }

        public ExpenseInfo Expense
        {
            get
            {
                return exp;
            }
            set
            {
                exp = value;
            }
        }

        public ProjectInfo Project
        {
            get
            {
                return pj;
            }
            set
            {
                pj = value;
            }
        }


        public UserRecordInfo User
        {
            get
            {
                return user;
            }
            set
            {
                user = value;
            }
        }
    }
}
